package O3.workflow;

public class LoopWhile {
    public static void main(String[] args) {
        int sum = 0;
        int start = 1;
        while (start<101){
            sum += start++;
        }
        System.out.println(sum);


        int s1 = 20;
        int res = 0;
        while (s1 < 25){
            res += s1++;
        }
        System.out.println(res);
    }
}
